﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace AspDotNet.Framework.Review.views.Base
{
    public partial class IsPostBack1 : System.Web.UI.Page
    {
        static int times = 0;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (this.IsPostBack || times > 0)
            {
                this.Title = $"页面第{++times}次加载";
            }
            else
            {
                this.Title = "页面第一次加载";
            }
        }
    }
}